home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt05.dir / 00024_Script_24 < prev    next >
Text File  |  1994-11-15  |  5KB  |  204 lines

  1. on startMovie
  2.   global inFrame, nowFrame, nowMovie, currWorld, realWorld, currMM
  3.   global lastFrame, dialogOn, jmpFrame, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 800
  6.   set prevLT = "FLWLT04"
  7.   set nextLT = "FLWLT06"
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltear887000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 20, TRUE
  18.   puppetSprite 21, TRUE
  19.   puppetSprite 22, TRUE
  20.   puppetSprite 23, TRUE
  21.   set the immediate of sprite 20 to TRUE
  22.   set the immediate of sprite 23 to TRUE
  23. end startMovie
  24.  
  25. on stepMovie
  26.   global nowFrame,currFrame
  27.   if nowFrame <> currFrame then
  28.     seeAlsoList
  29.     set currFrame = nowFrame
  30.   end if
  31. end stepMovie
  32.  
  33. on stopMovie
  34.   put " " into field "seeAlsoText"
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   updateStage
  38. end stopMovie
  39.  
  40. on saveLocals
  41.   global lastFrame, nowFrame, lastMovie, origLocH
  42.   set lastMovie = the movie
  43.   set lastFrame = nowFrame
  44. end saveLocals
  45.  
  46. on ltForStep
  47.   global inFrame, nextLT, ltQT
  48.   puppetSprite 4, FALSE
  49.   set ltQT = FALSE
  50.   set inFrame = ""
  51.   if the frame >= 12 then
  52.     go to frame "ltpra894001°°°" of movie nextLT
  53.   else
  54.     go to marker (+1)
  55.     updateStage
  56.   end if
  57. end ltForStep
  58.  
  59. on ltBackStep
  60.   global inFrame, prevLT, ltQT
  61.   puppetSprite 4, FALSE
  62.   set ltQT = FALSE
  63.   set inFrame = ""
  64.   if the frame < 6 then
  65.     
  66.     go to frame "ltear882004°°°" of movie prevLT
  67.   else
  68.     go to marker (-1)
  69.     updateStage
  70.   end if
  71. end ltBackStep
  72.  
  73. on checkNav
  74.   if rollover(12) then
  75.     set the castNum of sprite 12 to the number of cast "leftUp"
  76.   else
  77.     set the castNum of sprite 12 to the number of cast "leftRt"
  78.   end if
  79.   
  80.   if rollover(11) then
  81.     set the castNum of sprite 11 to the number of cast "rightUp"
  82.   else
  83.     set the castNum of sprite 11 to the number of cast "rightRt"
  84.   end if
  85.   cursor -1
  86.   updateStage
  87. end checkNav
  88.  
  89. on buttonState
  90.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  91.   
  92.   if dialogOn = FALSE then
  93.     
  94.     --sticking local call here for convenience
  95.     worldLite
  96.     if the mouseV > 200 or bFlag = TRUE then
  97.       set bFlag = FALSE
  98.       doState
  99.     end if
  100.   end if
  101. end buttonState
  102.  
  103. on scrollRight
  104.   if the clickon = 11 then
  105.     sound stop 1
  106.     startTimer
  107.     repeat while the timer < 2
  108.       set the castNum of sprite 11 to the number of cast "rightDn"
  109.       updateStage
  110.     end repeat
  111.     timeRight
  112.     flush
  113.   end if   
  114. end scrollRight
  115.  
  116. on scrollLeft
  117.   if the clickon = 12 then
  118.     sound stop 1
  119.     startTimer
  120.     repeat while the timer < 2
  121.       set the castNum of sprite 12 to the number of cast "leftDn"
  122.       updateStage
  123.     end repeat
  124.     timeLeft
  125.     flush
  126.   end if  
  127. end scrollLeft
  128.  
  129. on timeLeft
  130.   global prevLt
  131.   
  132.   go to movie prevLT
  133. end timeLeft
  134.  
  135. on timeRight
  136.   global nextLt
  137.   
  138.   go to movie nextLT
  139. end timeRight
  140.  
  141. on worldLite
  142.   set the castNum of sprite 9 to 2
  143.   if rollover(9) then
  144.     set the castNum of sprite 9 to 23
  145.   end if
  146. end worldLite
  147.  
  148. on rollVLB5
  149.   if the mouseH > 168 and the mouseH < 286 and the mouseV > 75 and the mouseV < 159 then
  150.     set the castNum of sprite 4 to 8
  151.     if the mouseDown then 
  152.       set the castNum of sprite 4 to 4
  153.     end if
  154.   else if the mouseH > 257 and the mouseH < 343 and the mouseV > 135 and the mouseV < 225 then
  155.     set the castNum of sprite 4 to 9
  156.     if the mouseDown then 
  157.       set the castNum of sprite 4 to 4
  158.     end if
  159.   else if the mouseH > 351 and the mouseH < 433 and the mouseV > 75 and the mouseV < 196 then
  160.     set the castNum of sprite 4 to 10
  161.     if the mouseDown then 
  162.       set the castNum of sprite 4 to 4
  163.     end if
  164.   else if the mouseH > 436 and the mouseH < 582 and the mouseV > 143 and the mouseV < 225 then
  165.     set the castNum of sprite 4 to 11
  166.     if the mouseDown then 
  167.       set the castNum of sprite 4 to 4
  168.     end if
  169.   else if the mouseH > 482 and the mouseH < 618 and the mouseV > 75 and the mouseV < 131 then
  170.     set the castNum of sprite 4 to 12
  171.     if the mouseDown then 
  172.       set the castNum of sprite 4 to 4
  173.     end if
  174.   else 
  175.     set the castNum of sprite 4 to 4
  176.   end if
  177.   updateStage
  178. end rollVLB5
  179.  
  180. on jumpVLB5
  181.   sound stop 1
  182.   if the clickOn < 7 or the clickOn > 23 then
  183.     if the mouseH > 168 and the mouseH < 286 and the mouseV > 75 and the mouseV < 159 then
  184.       puppetSprite 4, FALSE
  185.       go to frame "ltear887001°°°"
  186.     else if the mouseH > 257 and the mouseH < 343 and the mouseV > 135 and the mouseV < 225 then
  187.       puppetSprite 4, FALSE
  188.       go to frame "ltear887002°°°"
  189.     else if the mouseH > 351 and the mouseH < 433 and the mouseV > 75 and the mouseV < 196 then
  190.       puppetSprite 4, FALSE
  191.       go to frame "ltear887003°°°"
  192.     else if the mouseH > 436 and the mouseH < 582 and the mouseV > 143 and the mouseV < 225 then
  193.       puppetSprite 4, FALSE
  194.       go to frame "ltear887004°°°"
  195.     else if the mouseH > 482 and the mouseH < 618 and the mouseV > 75 and the mouseV < 131 then
  196.       puppetSprite 4, FALSE
  197.       go to frame "ltear887005°°°"
  198.     else 
  199.       nothing 
  200.     end if
  201.   end if
  202.   flush
  203. end jumpVLB5
  204.